﻿using System;
using System.Xml.Serialization;
using System.Collections.Generic;

namespace DuLabs.Workflow.Common.Definition
{
    public class UserSourceElement
    {
        [XmlAttribute("Type")]
        public UserSourceTypeAttribute UserSourceType { get; set; }

        [XmlAttribute("FilterSeparator")]
        public string FilterSeparator { get; set; }

        [XmlElement("User")]
        public List<UserElement> UserElementCollection { get; set; }

        public UserSourceElement()
        {
            this.UserElementCollection = new List<UserElement>();
        }
    }
}
